<header>
    <div class="navbar-custom navbar navbar-default navbar-static-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand logo active" href=""></a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="dropdown category-dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-th-list"></span>   DANH MỤC</a>
                        <ul class="dropdown-menu dropdown-menu-custom" role="menu">
                            <li><a href="category">Tất cả</a></li>
                            <li><a href="category">Hành động</a></li>
                            <li><a href="category">Kiếm hiệp</a></li>
                            <li><a href="category">Hài hước</a></li>
                            <li><a href="category">Lãng mạng</a></li>
                            <li><a href="category">Cổ điển</a></li>
                            <li><a href="category">Viễn tưởng</a></li>
                           
                        </ul>
                    </li>
                </ul>
                
                <ul class="nav navbar-nav navbar-right">
                    <li class="form-search">
                        <form id="searchForm" name="searchForm" method="get" action="search/" class="ng-pristine ng-valid">
                            <div class="form-group">
                                <div class="input-group">
                                    <input type="text" id="searchText" class="form-control" value="" name="key"  placeholder="Tìm kiếm phim" style="height: 30px" />
                                      
                                </div>
                            </div>
                        </form>
                    </li>
                    <li class=""><a href="phim/">ĐĂNG NHẬP</a></li>
                </ul>
            </div><!--/.nav-collapse -->
            
        </div>
    </div>
    <?php if($this->dispatcher->getControllerName()=='index'): ?>
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
      <!-- Indicators -->
      <ol class="carousel-indicators">
        <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
        <li data-target="#carousel-example-generic" data-slide-to="1"></li>
        <li data-target="#carousel-example-generic" data-slide-to="2"></li>
        <li data-target="#carousel-example-generic" data-slide-to="3"></li>
      </ol>
    
      <!-- Wrapper for slides -->
      <div class="carousel-inner">
        
        <div class="item active">

          <a href="detail"><img src="{{url('layouts/skins/frontend/defaults/images/banner1.jpg')}}" /></a> 

          <div class="carousel-caption">

            Shaadi Ke Side Effects
            In this comedy, Sid and Trisha discover that their happily ever after isn't quite what it seems. Watch it for Farhan and Vidya's sparkling chemistry!
          </div>
        </div>
       
        <div class="item">

          <a href="detail"><img src="{{url('layouts/skins/frontend/defaults/images/banner2.jpg')}}" /></a>

       
          <div class="carousel-caption">
           
          </div>
        </div>
        <div class="item">

          <a href="detail"><img src="{{url('layouts/skins/frontend/defaults/images/banner3.jpg')}}" /></a>


          <div class="carousel-caption">
            Saheb Biwi Aur Gangster Returns
            Director Tigmanshu Dhulia returns with his complex set of characters, in a worthy sequel to its predecessor, to tell a tale of the struggle for power & money among UP's modern royals.
          </div>
        </div>
        <div class="item">

          <a href="detail"><img src="{{url('layouts/skins/frontend/defaults/images/banner4.jpg')}}" /></a>

          
          <div class="carousel-caption">
           
          </div>
        </div>
      </div>
    
      <!-- Controls -->
      <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left"></span>
      </a>
      <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right"></span>
      </a>
    </div>
    <?php endif; ?>
</header>
